package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjFaultSolution;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 故障解决方案表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2023-07-31
 */
@Repository
public interface ZjFaultSolutionMapper extends BaseMapper<ZjFaultSolution> {
    /**
     * 根据故障表ID删除所有
     * @param faultId 故障表ID
     * @return
     */
    int deleteByFaultId(Long faultId);
}
